home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000032_news@columbia.edu _Wed Sep 20 17:38:37 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA22771
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 20 Sep 2000 17:38:34 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15170
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 20 Sep 2000 17:38:33 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA28340
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 17:18:06 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: send a command in command line arguments
  14. Date: 20 Sep 2000 21:18:06 GMT
  15. Organization: Columbia University
  16. Message-ID: <8qb9ie$rlg$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <39C924E2.AC4782F2@biochem.okstate.edu>,
  20. Feng Qiu  <fqiu@biochem.okstate.edu> wrote:
  21. : I have a liquid He level meter connect to Sun Ultra2 ttya serial port. I
  22. : can connect to meter through kermit:
  23. : kermit -l  /dev/ttya -c
  24. : then type command interactively, e.g when I type R1, it will echo the
  25. : level of liquid hellium. Is there any way to pass R1 directly without
  26. : interactive typing?
  27. : I tried:
  28. :  kermit /dev/ttya -c -C R1
  29. : kermit /dev/ttya -C R1
  30. : both won't work.
  31. You need to write a little script program using the OUTPUT and INPUT
  32. commands.  See the manual for how to write script programs:
  33.  
  34.   http://www.columbia.edu/kermit/manuals.html
  35.  
  36. and/or look at some of the sample scripts here:
  37.  
  38.   http://www.columbia.edu/kermit/ckscripts.html
  39.  
  40. The latter link also includes a short tutorial.
  41.  
  42. - Frank